package com.MTR;


import java.util.*;

public class MoteData
{
	public int 		vehicleID = 1;
    public int 		nodeID = 0;
    public double 	temperature = 32.1;
    public Date 	sampleDate;
	public Date 	downloadDate;
	
	/*
	 * Default Ctr.
	 */
	MoteData()
	{
		// default download time
		downloadDate = new Date();
		sampleDate = new Date();
	}
	
	/*
	 * Ctr with params.
	 */
	MoteData(int vid, int nid, double temp, Date samp, Date dload)
	{
		this.vehicleID = vid;
		this.nodeID = nid;
		this.temperature = temp;
		this.sampleDate = samp;
		this.downloadDate = dload;
	}
	
}
